package com.example.demo.controller;

import com.example.demo.DemoApplication;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 这里写文档描述
 *
 * @author smc
 * @date 2018-08-06 14:53
 * @since
 */
@RestController
@RequestMapping("docker")
public class DockerController {

    private static  final Logger log = LoggerFactory.getLogger(DockerController.class);

    @RequestMapping("index")
    public String index(){

        log.info("在容器中接收请求......");
        return "第一个docker容器项目";

    }
}
